#pragma  once

#ifndef WX_PRECOMP
#include <wx/wx.h>
#include <wx/splitter.h>
#endif

#include "AEApp.h"
#include "AETargetViewer.h"
#include "AEPropertyPane.h"
#include <wx/tglbtn.h> 

class AEFrame : public wxFrame
{
public:
	AEFrame( wxFrame *frame, const wxString& title );
	~AEFrame();
private:
	enum
	{
		idMenuQuit = 1000,
		idMenuAbout,
		idBGColor,
		idDrawCoordinate,
		idPause,
		idReset,
		idImport,
		idExportCO,
		idImportCO
	};

	void OnClose( wxCloseEvent& event );
	void OnQuit( wxCommandEvent& event );
	void OnAbout( wxCommandEvent& event );
	void OnBGColor( wxCommandEvent &event );
	void OnDrawCoord( wxCommandEvent &event );
	void OnPause( wxCommandEvent &event );
	void OnReset( wxCommandEvent &event );
	void OnImport( wxCommandEvent &event );
	void OnExportCO( wxCommandEvent &event );
	void OnImportCO( wxCommandEvent &event );

	wxButton* m_pBGColorBtn;
	wxToggleButton* m_pDrawCoordBtn;
	wxToggleButton* m_pPauseBtn;
	wxButton* m_pResetBtn;

	AETargetViewer* m_pTargetViewer;
	AEPropertyPane* m_pPropertyPane;
	wxSplitterWindow* m_pSplitterVertical;
	wxSplitterWindow* m_pSplitterHorizontal;	
	
	DECLARE_EVENT_TABLE();
};
 